/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hujia.profile.dao;

import hujia.profile.domain.Role;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/31 9:44
 */
public interface RoleRepository extends CrudRepository<Role, Long> {
    Optional<Role> findByRoleName(String roleName);
}
